<?php

class Banner extends AppModel {
    static public $POSIZIONE = array("1" => "A Sinistra", "2" => "A Destra", "3" => "In Basso", "4" => "In Alto");
    static public $TARGET = array("0" => "Interno", "1" => "Esterno");

    var $useTable = 'banner'; // nome della tabella
    
    public $belongsTo = array(
            'Foto' => array(
                'className'    => 'Attach' 
                ,'foreignKey' => 'banner_id'
            ) 
    );
		
}

?>